<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 * 


 */

require_once './db_conn.php';
$conn;
$style = $_POST['style'];
$images = $_POST['images'];
$title_sort = $_POST['title_sort'];
$title_main = $_POST['title_main'];
$href = $_POST['href'];

$sql = "
    INSERT INTO  `sente`.`pro` (
`id` ,
`style` ,
`images` ,
`title_sort` ,
`title_main` ,
`href` 
)
VALUES (
NULL ,  '$style',  '$images',  '$title_sort',  '$title_main','$href'
);
  ";
$result = $conn->query($sql);
header("location:index.php");
